/* PesquisarSO.java
*  Criado em 19/12/2005
*
*/
package br.com.werp.regras.suporte.visao.decorador;

import br.com.werp.regras.geral.util.Html;
import br.com.werp.regras.geral.vos.tabelas.So;

import org.displaytag.decorator.TableDecorator;

import java.util.HashMap;
import java.util.Map;


/**
 * @author Rafael Carneiro - <a href = "mailto:rafael@portaljava.com">
 * rafael@portaljava.com</a>
 */
public class PesquisarSO extends TableDecorator {
    public String getStop_nome() {
        So so = (So) getCurrentRowObject();

        Map map = new HashMap();

        map.put("select_action", "");
        map.put("stop_id", new Integer(so.getStop_id()));
        map.put("stop_nome", so.getStop_nome());
        map.put("stop_versao", so.getStop_versao());

        return Html.href("../Software/SODetalheForm.do", map) +
        so.getStop_nome() + "</a>";
    }
}
